package com.qfedu.meidijiaju.mapper;

import com.qfedu.meidijiaju.entity.HuatiYxy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 话题 Mapper 接口
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-03
 */
public interface HuatiYxyMapper extends BaseMapper<HuatiYxy> {

    List<HuatiYxy> queryAllHuaTi();

    List<HuatiYxy> findHuaTiByHuaTiName(String huaTiName);

    int updateHuaTiTaoLunNum(@Param("taoLunNum") int taoLunNum, @Param("huaTiId") int huaTiId);
}
